package com.jic.market.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * 抽奖记录表
 * @author : 
 * @email : 
 * @since : 2020-03-03 03:06:20
 * @version : v1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LotteryDrawRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键id
    private Long id;
//抽奖活动id
    private Long themeRefId;
    //领奖人信息id
    private Long recieverRefId;
    //抽奖人用户id
    private Long memberId;
    //抽奖人用户名称
    private String memberName;
    //抽奖时间
    private Date drawTime;
    //抽奖结果，抽奖结果，0 未中奖，1 中奖
    private Integer drawResult;
    //奖项等级
    private Integer awardsLevel;
    //奖品类别
    private Integer awardsCategory;
    //奖项名称
    private String awardsName;
    //奖品id
    private String awardsRefId;
    //奖品名称
    private String awardsRefName;
    //奖品数量
    private Long awardsRefNum;
    //该类奖品对应的图片链接地址
    private String awardsRefPicUrl;
    //抽奖所用订单号（仅订单抽奖）
    private String refOrderCode;
    //记录状态，0 未领取，1 已领取，2 已失效
    private Integer status;
    //是否可用:默认0否;1是
    private Integer isAvailable;
    //运营方ID
    private Long deptid;
    //商家ID
    private Long merchantId;
    //店铺Id
    private Long storeId;
    //创建日期
    private Date createTime;
    //创建用户ID
    private Long creator;
    //创建用户
    private String creatorName;
    //更新时间 数据库
    private Date updateTime;
    //更新用户ID
    private Long updator;
    //更新用户
    private String updatorName;
    //逻辑删除,0-未删除，1-已删除
    private Long deleteFlag;
    
}